FILESEXTRAPATHS:prepend:pe2201 := "${THISDIR}/${PN}:"

SRC_URI:append:pe2201 = " file://state_hook"

do_install:append:pe2201() {
    install -d ${D}${sysconfdir}/nbd-proxy/
    install -m 0755 ${WORKDIR}/state_hook ${D}${sysconfdir}/nbd-proxy/state
}
